package com.iov.stash.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 仓库对象 tb_stash
 * 
 * @author ruoyi
 * @date 2023-11-22
 */
public class TbStash extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String stashName;

    /** 仓库地址 */
    @Excel(name = "仓库地址")
    private String stashAddress;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStashName(String stashName) 
    {
        this.stashName = stashName;
    }

    public String getStashName() 
    {
        return stashName;
    }
    public void setStashAddress(String stashAddress) 
    {
        this.stashAddress = stashAddress;
    }

    public String getStashAddress() 
    {
        return stashAddress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stashName", getStashName())
            .append("stashAddress", getStashAddress())
            .toString();
    }
}
